how to make a square in c using for loop